package cn.yogehaoren.dao;

import cn.yogehaoren.model.ProxyClient;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author WangNing yogehaoren@gamil.com <br>
 * @since 1.0
 */
public interface ProxyClientMapper {

    @Select("select * from `proxy_client`")
    List<ProxyClient> getAllProxyClients();

    @Select("select count(*) from proxy_client where client_id = #{id}")
    int countClientId(String id);

}
